
import { v4 as uuidv4 } from 'uuid';

export const get_User_ID = function()  {
    let user_id = localStorage.getItem('USER_ID');
    if (!user_id) {
        user_id = uuidv4();
        localStorage.setItem('USER_ID', user_id);
    }
    return user_id;
}